package org.yonggan.dao.factory;


import org.yonggan.dao.ISessionAggrStatDAO;
import org.yonggan.dao.ISessionDetailDAO;
import org.yonggan.dao.ISessionRandomExtractDAO;
import org.yonggan.dao.ITaskDAO;
import org.yonggan.dao.impl.SessionAggrStatDAOImpl;
import org.yonggan.dao.impl.SessionDetailDAOImpl;
import org.yonggan.dao.impl.SessionRandomExtractDAOImpl;
import org.yonggan.dao.impl.TaskDAOImpl;

/**
 * DAO工厂类
 * @author Administrator
 *
 */
public class DAOFactory {


	public static ITaskDAO getTaskDAO() {
		return new TaskDAOImpl();
	}

	public static ISessionAggrStatDAO getSessionAggrStatDAO() {
		return new SessionAggrStatDAOImpl();
	}

	public static ISessionRandomExtractDAO getSessionRandomExtractDAO() {
		return new SessionRandomExtractDAOImpl();
	}

	public static ISessionDetailDAO getSessionDetailDAO() {
		return new SessionDetailDAOImpl();
	}

}
